<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <title><?= !empty($this->title) ? Html::encode($this->title) .' | ' : "" ?> <?=Yii::$app->system->title()?></title>
    <meta name="keywords" content="<?=Yii::$app->system->keywords()?>" />
    <meta name="description" content="<?=Yii::$app->system->description()?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no" />
    <link rel="shorcut icon" href="http://www.cnexpo.com/favicon.ico">
    <?= Html::csrfMetaTags() ?>
    <?php $this->head() ?>
    <style>
        html,body{
            width: 100%;
            height: 100%;
        }
    </style>
<!-- cnexpo.com Baidu tongji analytics -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?f85c226b1ed4f2b2d4aee9f14478463b";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body class="main_min">
<?php $this->beginBody() ?>
<div class="Lbg" id="wrap">
    <?=$this->render('header-min')?>
    <div class="main_content">
        <div class="contBox f_relative"><div class="session_alert"><?= Alert::widget() ?></div></div>
        <?= $content ?>
    </div>
    <?=$this->render('footer-min')?>
</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
